home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
Sherlock 2.0
/
DevLibSrc
/
Main_DevLib
/
LIBtypes.h
< prev
Wrap
Text File
|
1996-02-05
|
1KB
|
63 lines
/*
devlib: Standard types.
source: LIBtypes.h
started: January 7, 1993.
version: February 5, 1996.
*/
#ifndef LIBtypes_h_
#define LIBtypes_h_
#pragma once
#if defined(THINK_C) || defined(SYMANTEC_C)
#include <Types.h>
#endif
#ifdef applec
#ifndef __size_t__ /* This is used in the MPW headers. */
#define __size_t__
typedef unsigned long size_t;
#endif
#endif
#ifndef bool_defined
#define bool_defined
typedef int bool;
#endif
typedef char sbool; /* "Short" for arrays of bools. */
typedef unsigned char * pstring;
typedef unsigned int uint;
typedef unsigned short ushort;
typedef unsigned long ulong;
typedef short word;
/*
Define types used in various header files.
*/
/* LIBio.h */
#define LIB_IO_TYPEDEFS
typedef struct io_mem_struct io_mem_block;
typedef struct io_file_struct io_file;
typedef struct io_path_list_struct io_path_list;
/* LIBlist.h */
#define TYPE_LIST(type)\
type * next /* Pointer to next object. */
#define TYPE_LIST2(type)\
type * next2; /* Pointer to next object. */ \
type * back2 /* Pointer to previous object. */
/* LIBmi.h */
#define LIB_MI_TYPEDEFS
typedef struct mi_struct mi;
#endif /* LIBtypes_h_ */